package database;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import dao.BookDao;
import entity.BookInfo;

@Database(entities = {BookInfo.class} ,version = 1,exportSchema = true)
public abstract class Bookdatabse extends RoomDatabase {
    //获取数据库中某张表的持久化对象
    public abstract BookDao bookDao();
}
